package net.maku.events.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import net.maku.framework.common.utils.DateUtils;

import java.time.LocalDateTime;

/**
 * @Author: qr
 * @Date: 2025/3/25 22:11
 * @Version 1.0
 */
@Data
@Schema(description = "用户积分记录")
public class UserPointsRecordsVO {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "积分")
    private Double points;

    @Schema(description = "是否是增加 0 减少 1 增加")
    private Double whetherAdd;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private LocalDateTime createTime;
}
